package com.ets.Expense_DAO;

import java.util.ArrayList;

/******************************************************************************* 
 <big><b>ExpenseIO</b></big> interface, that defines the methods available for
 use with the <big><b>Expense</b></big> object
 <br><br>
 @author D.Merkling - 1:33:38 PM - Aug 22, 2011
 <br><br>
 @version 1.0  
*******************************************************************************/
public interface ExpenseIO
  {
   // Expense reader methods
   boolean existsExpense (int sn, int seq);
   Expense getExpense    (int sn, int seq);
   boolean getExpenses   (ArrayList<Expense> expenses, int sn);

   // Expense writer methods
   boolean addExpense    (Expense e);
   boolean updateExpense (Expense e);
   boolean deleteExpense (Expense e);
  }
  
